<?php
	$form = new AlunoForm();
?>
<h1>Visualizar Aluno</h1>

<table class="form">
  <tbody>
  <tr><th colspan="2" class="title">Detalhes Aluno</th></tr>
    <tr>
      <th><?php echo $form['id_aluno']->renderLabel() ?>:</th>
      <td><?php echo $aluno->getIdAluno() ?></td>
    </tr>
    <tr>
      <th><?php echo $form['nm_aluno']->renderLabel() ?>:</th>
      <td><?php echo $aluno->getNmAluno() ?></td>
    </tr>
    <tr>
      <th><?php echo $form['st_aluno']->renderLabel() ?>:</th>
      <td><?php echo $aluno->getStAluno() ?></td>
    </tr>
    <tr>
      <th><?php echo $form['user_id']->renderLabel() ?>:</th>
      <td><?php echo $aluno->getIdsfGuardUserProfile() ?></td>
    </tr>
    <tr>
      <th><?php echo $form['slug']->renderLabel() ?>:</th>
      <td><?php echo $aluno->getSlug() ?></td>
    </tr>
    <tr>
      <th><?php echo $form['created_at']->renderLabel() ?>:</th>
      <td><?php echo $aluno->getCreatedAt() ?></td>
    </tr>
    <tr>
      <th><?php echo $form['updated_at']->renderLabel() ?>:</th>
      <td><?php echo $aluno->getUpdatedAt() ?></td>
    </tr>
  </tbody>
</table>

<hr />

<?php
	comandos_form(
		link_to(
			':: Listar ::',
			'aluno/list',
			array('class' => 'btn btn-info')
		),
		link_to(
			':: Editar ::',
			'aluno/edit?id_aluno='.$aluno->getIdAluno(),
			array('class' => 'btn btn-info')
		)
	);
?>